package org.springblade.modules.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springblade.core.tool.api.R;
import org.springblade.modules.admin.dto.ai.RobotCreatePlanDTO;
import org.springblade.modules.admin.entity.ChatGroupBuilding;
import org.springblade.modules.admin.vo.ai.RobotCreatePlanVO;
import org.springblade.modules.admin.vo.ai.RobotPlanDetailVO;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

/**
 * @author: Sharry
 * @createTime: 2023/5/18 16:37
 * @version: Version-1.0
 */
public interface ChatGroupBuildingMapper extends BaseMapper<ChatGroupBuilding> {
    List<String> getElevatorAddressListByChatroomId(@Param("roomId") String roomId);

	List<RobotCreatePlanVO> getElevatorListByChatroomId(@Param("robotCreatePlanDTO")RobotCreatePlanDTO robotCreatePlanDTO);

	RobotPlanDetailVO getWorkPlanDetailByPlanId(@Param("planId") Long planId);

	List<RobotPlanDetailVO> getWorkPlanListByElevator(@Param("elevatorId")Long elevatorId, @Param("startDate") Date startDate, @Param("endDate")Date endDate);
}
